package remini

import (
	"fmt"
	"github.com/lostvip-com/lv_framework/web/router"
	"main/internal/remini/controller"
)

func init() {
	fmt.Println("############## Remini init ########################")
	//g1 := router.New( "/demo/form",token.JWTAuthMiddleware())
	web := controller.ReminiController{}
	//g1 := router.New("/iot_dev/hisData")
	g1 := router.New("/remini")
	//lv_web
	g1.POST("/chat", "", web.Chat)
	g1.GET("/ping", "", web.Ping)

}
